package com.jali.crud.service;

import com.jali.crud.bean.JaScoreLog;
import com.jali.crud.bean.JaScoreLogExample;
import com.jali.crud.dao.JaScoreLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jali
 * @create 2019-01-27 17:50
 */
@Service
public class JaScoreLogService {

    @Autowired
    JaScoreLogMapper jaScoreLogMapper;

    public List<JaScoreLog> selectJaScoreLog(JaScoreLogExample example){
        return jaScoreLogMapper.selectByExample(null);
    }

    public int insertSelective(JaScoreLog record){
        return jaScoreLogMapper.insertSelective(record);
    }

    public List<JaScoreLog> selectScoreLogList(JaScoreLogExample example){
        return jaScoreLogMapper.selectScoreLogList(example);
    }
}
